package com.boot.mall.product.dao;

import com.boot.mall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.mall.product.vo.SkuItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author huihui
 * @email 2565036109@qq.com
 * @date 2021-05-06 14:41:26
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SkuItemVo.SpuItemGroupAttr> getAttrGroupWithAttrsBySpuId(@Param("spuId") Long spuId,@Param("catId") Long catalogId);
}
